package com.jk.smartelderlycare.service;

import com.jk.smartelderlycare.dto.SysLabel;
import com.jk.smartelderlycare.pojo.PagedResponse;
import org.springframework.web.bind.annotation.*;

/**
 * @Description 添加描述
 * @Author hhk
 * @LastChangeDate 2024/11/14 14:48
 * @Version v1.0
 */
public interface SysLabelService {
    /**
     * @description: 标签后端分页查询
     * @param: [sysLabel, pageNum, pageSize]
     * @return: com.jk.smartelderlycare.pojo.PagedResponse<com.jk.smartelderlycare.dto.SysLabel>
     * @author hhk
     * @date: 2024/11/13 18:53
     */

    public PagedResponse<SysLabel> findSysLabelPagimationList( SysLabel sysLabel,  Integer pageNum, Integer pageSize);
    /**
     * @description: 新增标签
     * @param: [sysLabel]
     * @return: void
     * @author hhk
     * @date: 2024/11/13 18:54
     */

    public void addSysLabel( SysLabel sysLabel);
    /**
     * @description: 根据id删除一条信息
     * @param: [labelId]
     * @return: void
     * @author hhk
     * @date: 2024/11/13 18:55
     */

    public void deleteSysLabelByLabelId( Long labelId);
    /**
     * @description: 根据id回显一条信息
     * @param: []
     * @return: com.jk.smartelderlycare.dto.SysLabel
     * @author hhk
     * @date: 2024/11/13 18:56
     */

    public SysLabel findSysLabelByLabelId(Long labelId);
    /**
     * @description: 修改标签列表
     * @param: [sysLabel]
     * @return: void
     * @author hhk
     * @date: 2024/11/13 18:57
     */

    public void updataSysLabel( SysLabel sysLabel);

    /**
     * @description: 状态修改
     * @param:
     * @return:
     * @author hhk
     * @date: 2024/11/14 16:00
     */

    public void updateStatus( SysLabel sysLabel);
}
